package com.framework.modules.base.dao;

import com.framework.modules.base.entity.PostsAttrEntity;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 *  
 * 
 * @author MIT
 * @email litmiss@gmail.com
 * @date 2020-10-26 08:59:36
 */
public interface PostsAttrDao extends BaseMapper<PostsAttrEntity> {

    @Select("select * from tb_posts_attr where post_id=#{postId}")
    PostsAttrEntity selectByPostId(@Param("postId") Integer postId);
	
}
